package records

import (
	"github.com/golib/mysql"
)

const RecordNameAuditionStudentSummary = "audition_student_summary"

func init() {
	var r = &AuditionStudentSummary{}
	mysql.RegisterRecord(r.Name(), r)
}

type AuditionStudentSummary struct {
	StudentSummaryId      int    `json:"studentSummaryId" form:"studentSummaryId" column:"student_summary_id" primary:"true" modify:"false"`
	StudentId             int    `form:"studentId" column:"student_id" modify:"true" json:"studentId"`
	StudentName           string `form:"studentName" column:"student_name" modify:"true" json:"studentName"`
	Mobile                int    `json:"mobile" form:"mobile" column:"mobile" modify:"true"`
	CityId                int    `column:"city_id" modify:"true" json:"cityId" form:"cityId"`
	CityName              string `json:"cityName" form:"cityName" column:"city_name" modify:"true"`
	DisplayType           int    `json:"displayType" form:"displayType" column:"display_type" modify:"true"`
	ExceedPercent         int    `modify:"true" json:"exceedPercent" form:"exceedPercent" column:"exceed_percent"`
	LearnedKnowledgeCount int    `modify:"true" json:"learnedKnowledgeCount" form:"learnedKnowledgeCount" column:"learned_knowledge_count"`
	HistoryScore          string `json:"historyScore" form:"historyScore" column:"history_score" modify:"true"`
	AbilityModel          string `modify:"true" json:"abilityModel" form:"abilityModel" column:"ability_model"`
	CreateTime            string `json:"createTime" form:"createTime" column:"create_time" modify:"false"`
	UpdateTime            string `column:"update_time" modify:"false" json:"updateTime" form:"updateTime"`
}

func (r *AuditionStudentSummary) Name() string {
	return RecordNameAuditionStudentSummary
}
